package com.HRs.Controller;

import com.HRs.Service.aDService;
import com.HRs.Service.aDServicelmpl;
import com.HRs.domain.Department;

import java.util.ArrayList;

public class aDController {
    aDService aS = new aDServicelmpl();

    public boolean Login_aD(String Id, String Password) {
        return aS.Login_aD(Id, Password);
    }

    public void deleteDp_row(int row) {
        aS.deleteDp_row(row);
    }

    public void insertDp(Department dp) {
        aS.insertDp(dp);
    }

    public ArrayList<Department> get_Dp() {
        return aS.get_Dp();
    }

    public ArrayList<String> get_DpName() {
        return aS.get_DpName();
    }
}
